import { createMessage } from './methods';
import Message from "./Message.vue";
import type { App } from "vue";

Message.install = (app: App) => {
    app.component(Message.name || 'VkMessage', Message)
}

export default Message
export {
    createMessage,
    // closeAll
}

// 有可能使用者需要用到 types，所以将其导出
export * from './types'

